package com.qianfeng.day11.service;

import com.qianfeng.day11.dao.MobileTypeDAO;
import com.qianfeng.day11.entity.MobileType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MobileTypeService {
    @Resource
    private MobileTypeDAO mobileTypeDAO;

    public List<MobileType> findAll(){
        return mobileTypeDAO.findAll();
    }

 }
